package com.fnfn.sdk.api.service;

import java.util.List;

import com.fnfn.sdk.api.entity.RolePermission;
import com.fnfn.sdk.api.entity.Role;


public interface IRoleService {
    Role selectByRoleName(String roleName) throws Exception;

    void add(Role role) throws Exception;

    void remove(Integer roleId) throws Exception;

    void modify(Role role) throws Exception;

    List<Role> selectByCondition(Role role) throws Exception;

    List<RolePermission> selectByRoleId(Integer cRoleId);
}
